/*
 * PowerMonitorActivity.h
 *
 *  Created on: 2021年9月7日
 *      Author: vicent-PC
 */

#ifndef MAIN_ROSE_APP_OscilloProbeActivity_H_
#define MAIN_ROSE_APP_OscilloProbeActivity_H_

#include "./websocket/WebSocketService.h"
#include "Activity.h"
#include "power_track/Ina226App.h"

class OscilloProbeActivity : public Activity {
   public:
    static constexpr const char* APPNAME = "PowerMonitor";
    WebSocketService* mpWebSocketServer = nullptr;
    Ina226App mInaApp;

    OscilloProbeActivity();
    virtual ~OscilloProbeActivity();
    virtual void onEvent();
    void onCreate();

   public:
    int mTestStatus = 10000;
};

#endif /* MAIN_ROSE_APP_OscilloProbeActivity_H_ */
